#include<iostream>
#include<functional>
using namespace std;
using namespace std::placeholders;

void fun(int a, int b, int c)
{
	cout<< "[a, b, c] = " << "[" << a << ", " << b << ", " << c << "]\n";
}

int main(void)
{
	auto f1 = bind(fun, 10, _1, _2);
	f1(314, 213);
	
	auto f2 = bind(fun, _2, 10, _1);
	f2(314, 213);
	
	auto f3 = bind(fun, 10, 20, _1);
	f3(314);
	
	return 0;
}
